<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   
    <title>人员列表</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>

   <c:forEach items="${restaurants.restaurantsList}" var="restaurant"> 
   	iID=${restaurant.rid },<a href="<%=basePath %>xiaodian.do?rid=${restaurant.rid }" >店名=${restaurant.name}</a><br>
   </c:forEach>
   
   当前页：${restaurants.requestPage} 共${restaurants.totalPage}页
   
菜单：
<div> <a href="<%=basePath %>search.do?method=searchDish">锅包肉</a></div>
<div>焦烧肉条</div>
<c:forEach items="${dishList.dishList}" var="dishList">
id=${dishList.id }&nbsp;name=${dishList.name }
</c:forEach>
  </body>
</html>
